define(['text!./feedBack.html', 'css!./feedBack.css'], function( html) {
	avalon.templateCache['feedBack']=html;
	var vm = avalon.define({
	    $id: "feedBack",
	    txtContent:"",
	    warning:false,
	    win:false,
	    back:function(){
	    	Router.go('/setup/setup');
	    },
	    commit:function(){
	    	var contentNum=vm.txtContent.length;
	    	if(contentNum<=10){
	    		vm.warning=true;
	    	}else{
	    		vm.win=true;
	    	}
	    },
	    setup:function(){
	    	Router.go('/setup/setup');
	    	vm.win=false;
	    	vm.txtContent="";
	    }
  });
});